package com.stedu.service;

import com.stedu.bean.College;
import com.stedu.exception.SteduException;

import java.util.List;

public interface CollegeService {
    //增
    boolean insert(College c) throws SteduException;
    //删
    boolean delete(Integer zid) throws SteduException;
    //改
    boolean update(College c) throws SteduException;
    //查所有
    List<College> selectAll();
    //根据id查
    College selectByZid(Integer zid);
    //根据学院名称查询
    College selectByFaculty(String faculty);
    //根据专业查询
    College selectByProfessional(String professional);
}
